package cn.com.dbappsecurity.frame;
/**
 * 系统公共常量数据，非公共常量请放在各自的接口中
 * @author dhz
 */
public class Constant {

	/**
	 * 控制器后缀
	 */
	public static final String CONTROLLER_SUFFIX = ".jx";
	/**
	 * 模板文件后缀
	 */
	public static final String TEMPLATE_SUFFIX = ".jhtml";
	/**
	 * 默认页面
	 */
	public static final String DEFAULT_URI = "index";
	/**
	 * 统一编码
	 */
	public static final String ENCODING = "utf-8";
	/**
	 * 用户登录后保存在session中的KEY
	 */
	public static final String AUTH_KEY = "authUser";
	/**
	 * 保存在session中的用户权限KEY
	 */
	public static final String AUTH_PRIVILEGE = "authPrivilege";
	/**
	 * 每页最大显示数
	 */
	public static final int MAX_PAGE_AVG = 500;
	/**
	 * 皮肤放在cookie中的key
	 */
	public static final String SKIN_KEY = "skin";
	/**
	 * 语言放在cookie中的key
	 */
	public static final String LANGUAGE_KEY = "language";
	
	private Constant(){
	}
	
}
